/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package br.zeos;

/**
 *
 * @author Victor
 */
public class ZLanguage {
    
    public final static int english = 0;
    public final static int portuguese = 1;
    //public final static int spanish = 2;
    
    public String deleteMensage = null;
    public String firstButton = null;
    public String previousButton = null;
    public String nextButton = null;
    public String lastButton = null;
    public String addButton = null;
    public String applyButton = null;
    public String removeButton = null;
    public String okButton = null;
    public String gotoHell = null;
    
    private static int setMainLanguage = english;
    
    public static void setLanguage(int setMainLanguage){
        ZLanguage.setMainLanguage = setMainLanguage;
    }
    
    public ZLanguage(){
        if ( setMainLanguage == english ){
            deleteMensage = "Would you like to remove this data?";
            firstButton = "First";
            previousButton = "Previous";
            nextButton = "Next";
            lastButton = "Last";
            addButton = "Add";
            applyButton = "Apply";
            removeButton = "Remove";
            okButton = "Ok";
            gotoHell = "Not Ok";
        }else if ( setMainLanguage == portuguese ){
            deleteMensage = "Você gostaria de remover este dado?";
            firstButton = "Primeiro";
            previousButton = "Anterior";
            nextButton = "Próximo";
            lastButton = "Último";
            addButton = "Adicionar";
            applyButton = "Aplicar";
            removeButton = "Remover";
            okButton = "Ok";
            gotoHell = "Vai pro inferno ";
        }
    }
    
    
    
}
